//
//  filmViewController.m
//  BeautyPicture
//
//  Created by 沈振邦 on 15/11/25.
//  Copyright © 2015年 szb. All rights reserved.
//

#import "filmViewController.h"
#import "filmDetailVC.h"
#import "MJRefresh.h"
#import "BPhttpTool.h"

@interface filmViewController ()

@property (nonatomic,assign)int refreshIndex;

@end

@implementation filmViewController

- (void)viewWillAppear:(BOOL)animated
{

}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
//    _refreshIndex = 1;
//    self.baseWebView.scrollView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
////        _refreshIndex ++;
////        
////        [self.context[@"loadingPage"] callWithArguments:@[[NSString stringWithFormat:@"%d",_refreshIndex]]];
//    }];
}

- (void)endRefresh
{
//    [self.baseWebView.scrollView.mj_footer endRefreshing];
}


- (void)pushTohsqDetail:(NSString *)webName :(NSDictionary *)detail
{
    filmDetailVC *detailVC = [[filmDetailVC alloc] init];
    detailVC.title = @"好摄圈";
    detailVC.webName = webName;
    detailVC.detail = detail;
    [self.navigationController pushViewController:detailVC animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
